﻿<%@ Page Language="C#" %>
<%@ Import Namespace="RssEasy.Core" %>
<%@ Import Namespace="RssEasy.Dal" %>
<%@ Import Namespace="LocalDAL" %><!DOCTYPE html>
<html>
<head>
    <%
        LocalSeoHelper seo = new LocalSeoHelper();
        seo.lanmubankuai(5);
    %>
    <meta charset="utf-8" />
    <title><% Response.Write(seo.title); %></title>
    <meta name="keywords" content="<% Response.Write(seo.keywords); %>" />
    <meta name="description" content="<% Response.Write(seo.description); %>" />
    <link href="/img/ios.png" rel="shortcut icon">
    <link rel="stylesheet" type="text/css" href="/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="/css/index.css" />
    <link href="../css/index2.css" rel="stylesheet" />
</head>
<body id="info">
	<!--#include virtual="/inc/header2.html"  -->
    <div class="he_banner">
        <img src="/img/z_banner.jpg" />
    </div>
    <div class="z_content">
        <div class="w1000">
            <div class="h_title">
                <span class="h_l_span">资讯</span><span class="h_r_span">动态</span>
            </div>
            <div class="clear z_con">
                <ul class="fl z_list_text">
                    <%

                        ArticleList list = new ArticleList();
                        list.request();
                        list.select("id,icourl,title,shijian,description").where("state=1").get_page_desc("id");
                        while (list.for_in_rows())
                        {
                    %>
                    <li>
                        <a href="/html/news/<% Response.Write(list["id"]); %>.html" class="z_list_img" target="_blank">
                            <img src="http://uf.rsseasy.com/<% Response.Write(list["icourl"]); %>" /></a>
                        <p class="z_list_p1"><a href="/html/news/<% Response.Write(list["id"]); %>.html" target="_blank"><% Response.Write(list["title"]); %></a><span riqidata="<% Response.Write(list["shijian"]); %>,yyyy/MM/dd"></span></p>
                        <p class="z_list_p2"><% Response.Write(list["description"]); %></p>
                    </li>
                    <%
                        }
                    %>
                </ul>
                <div class="fr z_r_text">
                    <dl class="z_r_sunxu">
                        <dt>最新文章</dt>
                        <%
                            ArticleList newsart = new ArticleList();
                            newsart.select("id,title").where("state=1").get_page_desc("id");
                            while (newsart.for_in_rows())
                            {
                        %>
                        <dd><span><% Response.Write(newsart.for_in_idx); %></span><a href="/html/news/<% Response.Write(newsart["id"]); %>.html" title="<% Response.Write(newsart["title"]); %>" target="_blank"><% Response.Write(newsart["title"]); %></a></dd>
                        <%
                            }
                        %>
                    </dl>
                    <dl>
                        <dt>推荐文章</dt>
                        <%
                            ArticleChooseListView chooselist = new ArticleChooseListView();
                            chooselist.select("id,title").query();
                            while (chooselist.for_in_rows())
                            {
                        %>
                        <dd><a href="/html/news/<% Response.Write(chooselist["id"]); %>.html" title="<% Response.Write(chooselist["title"]); %>" target="_blank"><% Response.Write(chooselist["title"]); %></a></dd>
                        <%
                            }
                        %>
                    </dl>
                </div>
            </div>
            <div class="a_paging">
                <%
                    Pagination pag = new Pagination(list);
                    pag.firstpage("<a href='/news/list/" + (list.curpage - 1) + ".html'>&lt;</a>").loop_page("<a href='/news/list/{curpage}.html' {curpageclass}>{curpage}</a>", "hover").lastpage("<a href='/news/list/" + (list.curpage + 1) + ".html'>&gt;</a>").display();
                %>
            </div>
        </div>
    </div>
    <!--#include virtual="/inc/footer2.html"  -->
    <script src="/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="/js/sharehelper.min.js"></script>
    <script src="/js/rsseasy.min.js"></script>
    <script src="/js/header.js" type="text/javascript" charset="utf-8"></script>
    <script src="../js/index2.js"></script>
</body>
</html>
